package com.ukao.cashregister.adapter;

import android.content.Context;
import android.widget.TextView;

import com.mcxtzhang.commonadapter.rv.CommonAdapter;
import com.mcxtzhang.commonadapter.rv.ViewHolder;
import com.ukao.cashregister.R;
import com.ukao.cashregister.bean.AddClothingItem;

import java.util.List;

/**
 * Created by ukaodev on 2017/6/14.
 */

public class RemoveClothingAdapter extends CommonAdapter<AddClothingItem> {



    public RemoveClothingAdapter(Context context, List<AddClothingItem> datas) {
        super(context, datas, R.layout.header_recyclerview_item);
    }

    @Override
    public void convert(ViewHolder holder, AddClothingItem item) {

        ((TextView) holder.getView(R.id.fragment_header_choose_recycler_item)).setText(item.getName());



    }








}
